﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetFrameworkExtensions.BusinessLayer
{
  public interface IValueFilter
  {
    string Caption { get; }

    bool IsActive { get; set; }

    FilterOperator FixedOperator { get; set; }
    FilterOperator Operator { get; set; }

    IEnumerable<FilterOperator> Operators { get; }

    IEnumerable<IValueFilterItem> Items { get; }
  }

  public interface IValueFilter<T> :
    IValueFilter
  {
    new IEnumerable<IValueFilterItem<T>> Items { get; }
  }
}
